package com.lfy.modules.blog.domain.dto.user;

import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;

@Data
public class ModifyUserRoleDTO {
    @NotNull(message = "用户id不能为空")
    private Long userId;
    @NotNull(message = "角色id不能为空")
    private Long roleId;
}
